package top.malegod.model;


import java.util.Date;

/**
 * Create by IntelliJ IDEA
 *
 * @author: AbelEthan
 * @date-Time: 2018/5/31 2:54
 * @description: 评论
 */
public class Comments {

  private Integer id;

  private String content;

  private Integer star;

  private String orderId;

  private String userId;

  private Date createTime;

  public Comments() {
  }

  public Comments(Integer id, String content, Integer star, String orderId, String userId,
      Date createTime) {
    this.id = id;
    this.content = content;
    this.star = star;
    this.orderId = orderId;
    this.userId = userId;
    this.createTime = createTime;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public Integer getStar() {
    return star;
  }

  public void setStar(Integer star) {
    this.star = star;
  }

  public String getOrderId() {
    return orderId;
  }

  public void setOrderId(String orderId) {
    this.orderId = orderId;
  }

  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  @Override
  public String toString() {
    return "Comments{" +
        "id=" + id +
        ", content='" + content + '\'' +
        ", start=" + star +
        ", orderId='" + orderId + '\'' +
        ", userId='" + userId + '\'' +
        ", createTime=" + createTime +
        '}';
  }
}
